<?php
namespace app\wap\model;

use think\Model;

class Goods extends Model
{
//    protected $table = 'xcx_goods';
    protected $pk    = 'id';

    public function test(){
        $goods = $this->find(46);

        dump($goods->getAttr('id'));
    }







}